package cn.stylefeng.guns.modular.business.frequency.ordertake.model.result;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @Author jzy
 * @Date 2021/9/27 0027
 **/
@Data
public class PkgOrderDelivery {

    private Long orderId;
    private String transportId;
    private String takeId;
    private String companyId;
    private String driverId;

    /**
     * 垫付运费
     */
    private BigDecimal cost;

    @ApiModelProperty("送车公司名称")
    private String companyName;

    /**
     * 最后一次位置更新地址
     */
    private String arriveLocation;

    @ApiModelProperty("司机姓名")
    private String driverName;

    private Integer transportType;

    @ApiModelProperty("司机电话")
    private String driverPhone;
    //提车费
    private BigDecimal takeCarFee;

    @ApiModelProperty("司机身份证号")
    private String driverCardNumber;

    @ApiModelProperty("小板车牌")
    private String licensePlateNumber;

    @ApiModelProperty("签收人")
    private String signUserName;

    @ApiModelProperty("签收状态")
    private Integer signStatus;
    /**
     * 提车状态 1.待指派 2.已指派 3.-
     */
    @ApiModelProperty("指派提车状态")
    private Integer takeCarStatus;

    @ApiModelProperty("指派司机状态")
    private Integer driverStatus;

    @ApiModelProperty("交付状态")
    private Integer finishStatus;

    private String settlementId;

    @ApiModelProperty("结算人")
    private String settlementName;

    @ApiModelProperty("结算人电话")
    private String settlementPhone;

    @ApiModelProperty("结算类型")
    private Integer settlementType;


    // 验车时间
    //@ApiModelProperty("验车时间")
    //private Long verifyTime;
    // 指派结算人时间
    @ApiModelProperty("指派结算人")
    private String createUserName;
    @ApiModelProperty("指派结算人时间")
    private Date createTime;
    @ApiModelProperty("指派司机的人")
    private String assignDriverUserName;
    // 指派司机时间
    @ApiModelProperty("指派司机时间")
    private Date assignDriverTime;

    @ApiModelProperty("运单号")
    private String transportNo;
    @ApiModelProperty("发运人")
    private String transportUserName;
    @ApiModelProperty("发运时间")
    private Date transportTime;
    @ApiModelProperty("大板司机")
    private String transportDriverName;

    // 订单信息
    @ApiModelProperty("订单号")
    private String orderSubNo;
    private Integer orderStatus;
    @ApiModelProperty("送车方式")
    private Integer takeType;
    private Integer status;

    @ApiModelProperty("制单人")
    private String orderCreateUserName;
    @ApiModelProperty("制单时间")
    private Date orderCreateTime;
    //@ApiModelProperty("预约提车时间")
    //private Long appointPickTime;
    //private String companyName;
    private String linkmanName;
    private String linkmanPhone;
    @ApiModelProperty("收货人")
    private String consigneeName;
    @ApiModelProperty("收货人电话")
    private String consigneePhone;
    private String startCode;
    private String destinationCode;
    private String startCodeName;
    private String destinationCodeName;
    @ApiModelProperty("送车地址")
    private String takeAddress;
    //private String pickAddress;
    @ApiModelProperty("车辆名称")
    private String carName;
    @ApiModelProperty("车架号")
    private String vin;

    //公里数
    private Integer km;
    //验车备注
    private String remark;
    //验车图片
    private List<String> validateImages;
    private String validateImagesStr;

    @ApiModelProperty("订单备注")
    private String orderRemark;
    @ApiModelProperty("是否加急 1.是 0.否")
    private Integer hasUrgent;
    @ApiModelProperty("到付金额")
    private BigDecimal deliveryPayFee;
    private BigDecimal transportCost;
    /**订单里的*/
    private BigDecimal takeFee;
    /**订单里的*/
    private BigDecimal pickFee;
    /**
     * 车厢号
     */
    private String compartmentNo;
    /**
     * 票号
     */
    private String ticketNo;
}
